package lesson.thread.test7;

public class Demo7 {
    public static void main(String[] args) {
        MyThread1 my1 = new MyThread1();
        MyThread2 my2 = new MyThread2();

        my1.setName("彭于晏");
        my2.setName("沈腾");

        my2.setDaemon(true);

        my1.start();
        my2.start();
    }
}
